/**
 * This file is used specifically and only for development. It installs
 * `electron-debug` & `vue-devtools`. There shouldn't be any need to
 *  modify this file, but it can be used to extend your development
 *  environment.
 */

/* eslint-disable */

// Install `electron-debug` with `devtron`
require('electron-debug')({showDevTools: false})

// Install `vue-devtools`
// require('electron').app.on('ready', () => {
//   let installExtension = require('electron-devtools-installer')
//   installExtension.default(installExtension.VUEJS_DEVTOOLS)
//     .then(() => {})
//     .catch(err => {
//       console.log('Unable to install `vue-devtools`: \n', err)
//     })
// })

// Require `main` process to boot app
require('./index')

/*

var n = new Notification('您有一条消息！', {'icon': '', 'body': '您一分钟后将有好运气'})
n.onshow = function () {
  console.log('显示通知')
  setTimeout(function () {
   // n.close()
  }, 2000)
}
n.onclick = function () {
  alert('打开相关视图')
  window.open('/Home/about')
  n.close()
}
n.onclose = function () {
  console.log('通知关闭')
}
n.onerror = function () {
  console.log('产生错误')
}
ƒ () {
  console.log('产生错误')
}

 */
